#pragma once
#include "statebase.h"
#include "background.h"
#include "button.h"

class StateMainMenu : public StateBase
{
public:
	StateMainMenu ();
	~StateMainMenu ();

	void			Update (float deltaTime);
	void			Render ();

	bool			OnKeyUp (int keycode);
	bool			OnKeyDown (int keycode);
	bool			OnTouchUp (float xPos, float yPos);
	bool			OnTouchDown (float xPos, float yPos);

	void			OnEnter ();

private:
	Background		m_background;
	Button			m_button1;
	Button			m_button2;
	Button			m_button3;
	Button			m_button4;

	static void		OnPlayBtnPressed ();
	static void		OnShopBtnPressed ();
	static void		OnOptionBtnPressed ();
	static void		OnCreditBtnPressed ();
};
